//
//  WYCPlanDetailModel.m
//  信用卡管理
//
//  Created by 中企互联 on 2017/12/5.
//  Copyright © 2017年 李胜军. All rights reserved.
//

#import "WYCPlanDetailModel.h"

@implementation WYCPlanDetailModel

+(id)friendWithDic:(NSDictionary *)dic
{
    return [[self alloc]initWithDic:dic];
}

- (id)initWithDic:(NSDictionary *)dic{
    if (self = [super init]) {
        self.amount = [dic objectForKey:@"amount"];
        self.state = [dic objectForKey:@"state"];
        self.type = [dic objectForKey:@"type"];
        self.poundage = [dic objectForKey:@"poundage"];
        self.executeTime = [dic objectForKey:@"executeTime"];
    }
    return self;
    
}
@end
